package be.bonamis.umpire.ui.client.mvp.impl;

import com.google.gwt.user.client.ui.SuggestOracle.Suggestion;

public class StringWithIdSuggestion implements Suggestion {

	Integer id;
    String name;

    @Override
    public String getDisplayString() {
	return name;
    }

    public StringWithIdSuggestion() {
    }

    public StringWithIdSuggestion(Integer id, String name) {
	super();
	this.id = id;
	this.name = name;
    }

    @Override
    public String getReplacementString() {
	return name;
    }

    public Integer getId() {
	return id;
    }

}
